<template>
  <div class="all">
    <section style="margin-left: 20px">
      <div class="top-c">
        <header>
          <div class="h-left">
            
            <p class="crumbs">主页</p>
          </div>
          <div class="h-right">
            <div  class="notice">
              <!-- <div class="newMsg"></div> -->
              <i class="ivu-icon ivu-icon-ios-notifications-outline"></i>
            </div>
            <div class="user-img">
              <img
                src="https://avatars3.githubusercontent.com/u/22117876?s=460&amp;v=4"
              />
            </div>
            <div class="ivu-dropdown">
              <div class="ivu-dropdown-rel">
                <div class="pointer">
                  <span @click="fn_quit">退出登录</span
                  >
                </div>
              </div>
             
            </div>
          </div>
        </header>
        <div class="div-tags">
          <ul class="ul-c">
            <li class="active">
              <a class="li-a"> 主页  x </a
              >
            </li>
          </ul>
          <div class="div-icons">
            <div class="refresh-c">
              <i class="ivu-icon ivu-icon-md-refresh"></i>
            </div>
            <div class="tag-options">
              <div class="ivu-dropdown">
                <div class="ivu-dropdown-rel">
                  <i class="ivu-icon ivu-icon-ios-options"></i>
                </div>
                <div class="ivu-select-dropdown" style="display: none">
                  <ul class="ivu-dropdown-menu">
                    <li class="ivu-dropdown-item">关闭其他标签</li>
                    <li class="ivu-dropdown-item">关闭所有标签</li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="main-content">
        <div class="view-c">
          <div class="home-container">
            <div class="home-content">
              <button type="button" class="ivu-btn ivu-btn-default">
                <span>ajax 测试</span>
              </button>
              <div
                class="
                  ivu-input-wrapper
                  ivu-input-wrapper-default
                  ivu-input-type-textarea
                "
                style="margin-top: 20px"
              >
                <textarea
                  wrap="soft"
                  autocomplete="off"
                  spellcheck="false"
                  placeholder=""
                  rows="30"
                  class="ivu-input"
                ></textarea>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
  </div>
</template>

<script>
export default {
  name: "All",
  methods:{
       fn_quit(){
      localStorage.clear()
      this.$router.push("/Logino")
    }
  }
};
</script>

<style scoped>
.top-c header {
    display: flex;
      justify-content: space-between;
}
.top-c header img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.h-right{
    display: flex;
}
.all{
    width: 1300px;
}
.ivu-dropdown{
    margin-left: 60px;
}
.ivu-input{
     width: 1000px;
}
.ul-c .active {
    list-style: none;
    width: 48px;
    padding: 0px 10px;
    background: rgb(117, 202, 241);
    border: 1px solid rgb(47, 125, 226);
    color: #fff;
}
.el-submenu a{
    text-decoration: none;
    color: #000;
}
</style>